package com.ruoyi.supervise.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.supervise.domain.BaseUnitInfo;
import com.ruoyi.supervise.mapper.BaseUnitInfoMapper;
import com.ruoyi.supervise.service.IBaseUnitInfoService;

/**
 * @ClassName: BaseUnitInfoServiceImpl
 * @Description: 单位信息serviceimpl
 * @Author wtj
 * @DateTime 2020年3月12日 下午12:15:13
 */
@Service
@DataSource(value = DataSourceType.SLAVE)
public class BaseUnitInfoServiceImpl implements IBaseUnitInfoService 
{
    @Autowired
    private BaseUnitInfoMapper baseUnitInfoMapper;

    /**
     * 查询出陵水的主管部门
     */
	@Override
	public List<BaseUnitInfo> selectBaseUnitInfoList() {
		// TODO Auto-generated method stub
		return baseUnitInfoMapper.selectBaseUnitInfoList();
	}

	@Override
	public BaseUnitInfo selectBaseUnitInfoByGuid(BaseUnitInfo baseUnitInfo) {
		// TODO Auto-generated method stub
		return baseUnitInfoMapper.selectBaseUnitInfoByGuid(baseUnitInfo);
	}
    
    

}
